package net.oschina.app.Runners;

import android.test.InstrumentationTestRunner;

import com.zutubi.android.junitreport.JUnitReportTestRunner;

import junit.framework.TestSuite;

import net.oschina.app.Suits.SuitLogin;

/**
 * Created by kola on 2017/3/29.
 * 1,新建suit（套件）文件夹，在里面存放脚本
 * 2，新建runners文件夹，在里面定义跑case顺序
 * 3，写完以后记得去build.gradle里面配置“ testInstrumentationRunner 'net.oschina.app.Runners.Runner1'”
 * 包名可以去“run-edit configurations-general-all in modual-在底下的框里面输入类名以得到包名-apply-ok。
 * 点击run按钮
 */

public class Runner1 extends JUnitReportTestRunner{

    @Override
    public TestSuite getAllTests() {
        TestSuite suite =new TestSuite();
        suite.addTest(SuitLogin.getSuitLogin());
        return suite;
    }
}
